package org.wj.message;

import lombok.ToString;

import java.io.Serializable;

@ToString
public class KeyNotFoundException extends Exception implements Serializable {


    private static final long serialVersionUID = 8771048714376285098L;


    public final String key;

    /**
     * Constructs a new exception with {@code null} as its detail message.
     * The cause is not initialized, and may subsequently be initialized by a
     * call to {@link #initCause}.
     */
    public KeyNotFoundException(String key) {
        this.key = key;
    }
}
